#!/bin/bash

echo "启动考试之路游戏..."
echo ""
echo "请确保已安装Godot 4.2"
echo "如果Godot已添加到系统PATH，将自动启动游戏"
echo ""

# 尝试从PATH启动Godot
if command -v godot &> /dev/null; then
    godot --path . --main-pack "res://scenes/GameStart.tscn"
else
    echo "Godot未找到，请手动打开Godot并加载此项目"
    echo "项目路径: $(pwd)"
    read -p "按回车键继续..."
fi
